import request from "../util/request";

// 管理员管理相关接口

// 查询管理员列表
export const selectManagerList = function (params = {}) {
  return request({
    url: "/admin/manager",
    method: "get",
    params: params,
  });
};

// 添加新管理员
export const insertNewManager = function (params = {}) {
  return request({
    url: "/admin/manager",
    method: "post",
    data: params,
  });
};
